﻿using MC;
using System;
using System.Collections.Generic;
using UnityEngine;

namespace Model
{
    /// <summary>
    /// 配置文件加载引用管理器
    /// </summary>
    public class LoadConfigComponent : MonoBehaviour
    {
        public TextAsset HotfixDll;
        public TextAsset HotfixPdb;
        public TextAsset HotfixMdb;

        public List<ScenesConfigData> jsonConfigData;
        public List<ScenesConfigData> csvConfigData;

        private void Awake()
        {
            MessageCenter.Send("TextAssetData", this);
        }
    }

    [Serializable]
    public class ScenesConfigData
    {
        public string ScenesName;
        /// <summary>
        /// 信息转换对象的对象名
        /// </summary>
        public string DataToObjectNmae;
        public TextAsset ConfigData;
    }



}
